package utils

import (
	"github.com/gogf/gf/os/glog"
	"os"
	"strings"
)

func GetCurrentPath() string {
	dir, err := os.Getwd()
	if err != nil {
		glog.Error("获取web服务目录")
	}
	return strings.Replace(dir, "\\", "/", -1)
}
